#canvas1 {
    border: 3px solid black;
    position: absolute;
    width: 500px;
    height: 700px;
    background-color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}